#ifndef BUFFER_H_
#define BUFFER_H_

#include <stdlib.h>
#include <string.h>
#include "types.h"

s_buffer* createBuffer( s_uint size );

void destroyBuffer( s_buffer* buff );

void append( s_buffer* buff, s_ubyte* data, s_uint size );

void setBuffer( s_buffer* buff, s_ubyte* data, s_uint size );


#endif /*BUFFER_H_*/
